from spk.core.workspace import *

class DebFields:
    Package         = ("包名", "spk.online.package")
    Version         = ("版本", "0.0.1")
    Architecture    = ("架构", ["amd64", "aarch64", "loong64"])
    Homepage        = ("主页", "http://spark-app.store")
    Maintainer      = ("维护者", "spk <spk@spark-app.store>")
    Description     = ("软件描述", "by online build system")
    # PreDepends      = ("前置依赖",)
    # Depends         = ("依赖项",)
    # Suggests        = ("建议依赖",)
    # Conflicts       = ("冲突依赖",)
    # Replaces        = ("替换依赖",)
    # Recommends      = ("推荐依赖",)
    # License         = ("许可证",)
    # Vendor          = ("供应商",)
    # BugURL          = ("Bug地址",)
    # Changelog       = ("更新日志",)
    # ShortDescription= ("简短描述",)



def control():
    return f"""\
Package: {get('Package')}
Version: {get('Version')}
Architecture: {get('Architecture')}
Homepage: {get('Homepage')}
Maintainer: {get('Maintainer')}
Description: {get('Description')}
"""
